﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PrintDemo.DBUtil
{
    [Serializable]
    public class DBConnSetting
    {
        private string _server;
        private string _dbName;
        private string _user;
        private string _psw;

        public string Server
        {
            get { return _server; }
            set { _server = value; }
        }

        public string DbName
        {
            get { return _dbName; }
            set { _dbName = value; }
        }

        public string User
        {
            get { return _user; }
            set { _user = value; }
        }

        public string Psw
        {
            get { return _psw; }
            set { _psw = value; }
        }

        public DBConnSetting()
        {
        }

        public DBConnSetting(string server, string dbname, string user, string psw)
        {
            _server = server;
            _dbName = dbname;
            _user = user;
            _psw = psw;
        }
    }
}
